package com.google.code.p.restrpc.core.async;

import com.google.code.p.restrpc.AsyncRpcResult;
import com.google.code.p.restrpc.annotation.Implementor;
import com.google.code.p.restrpc.core.async.impl.DefaultAsyncRpcResult;

/**
 * @author dz
 */
public interface AsyncRpcResultRetriever {
    
    /**
     * 
     */
    public static final String SERVICE_NAME = "asyncRpcResultQuery";
    
    /**
     * @param requestId
     * @return
     */
    public @Implementor(DefaultAsyncRpcResult.class) AsyncRpcResult findById(String requestId);
}
